package com.neusoft.movie.v_movies.model;


import com.neusoft.movie.v_movies.common.Constants;
import com.neusoft.movie.v_movies.listener.RetrofitListener;
import com.neusoft.movie.v_movies.service.ArticlesService;
import com.neusoft.movie.v_movies.service.WordsService;

import retrofit2.Call;

/**
 * Created by Administrator on 2017/12/26.
 */

public class WordsModel extends RetrofitBaseModel {
    private WordsService wordsService;


    public WordsModel() {
        this.wordsService = retrofit.create(WordsService.class);
    }

    public void words(RetrofitListener listener) {
        Call call = wordsService.words();
        bindCallback(call, listener, Constants.WORDS);
    }






}
